module.exports = app => {
  // const moduleInfo = app.meta.mockUtil.parseInfoFromPackage(__dirname);
  const content = {
    root: {
      id: 'e341b99ef3bc495db8a8c09e6ad6203f',
      widgets: [
        {
          id: '54783c4851524d6088b5eec034b95f77',
          properties: {
            title: { type: 1, value: '' },
            height: { type: 1, value: 'auto' },
            infoIcon: { type: 1, value: ':business:store' },
            infoTitle: { type: 1, value: '280' },
            widthLarge: { type: 1, value: 25 },
            widthSmall: { type: 1, value: 100 },
            widthMedium: { type: 1, value: 50 },
            infoSubTitle: { type: 1, value: 'New Orders' },
            backgroundColor: { type: 1, value: '#3F51B5' },
          },
          atomStaticKey: 'a-dashboardbooster:widgetInfoBox',
        },
        {
          id: '4adafa58339848b8b1ea8ab05131ec5a',
          properties: {
            title: { type: 1, value: '' },
            height: { type: 1, value: 'auto' },
            infoIcon: { type: 1, value: '::stats-chart' },
            infoTitle: { type: 1, value: '30%' },
            widthLarge: { type: 1, value: 25 },
            widthSmall: { type: 1, value: 100 },
            widthMedium: { type: 1, value: 50 },
            infoSubTitle: { type: 1, value: 'Bounce Rate' },
            backgroundColor: { type: 1, value: '#00897B' },
          },
          atomStaticKey: 'a-dashboardbooster:widgetInfoBox',
        },
        {
          id: 'b23039deef83401facf23a7e5bcccc53',
          properties: {
            title: { type: 1, value: '' },
            height: { type: 1, value: 'auto' },
            infoIcon: { type: 1, value: '::round-person-add' },
            infoTitle: { type: 1, value: '50' },
            widthLarge: { type: 1, value: 25 },
            widthSmall: { type: 1, value: 100 },
            widthMedium: { type: 1, value: 50 },
            infoSubTitle: { type: 1, value: 'New Users' },
            backgroundColor: { type: 1, value: '#F57C00' },
          },
          atomStaticKey: 'a-dashboardbooster:widgetInfoBox',
        },
        {
          id: '81103667cb8e402186693c2eae6949f7',
          properties: {
            title: { type: 1, value: '' },
            height: { type: 1, value: 'auto' },
            infoIcon: { type: 1, value: '::person' },
            infoTitle: { type: 1, value: '300' },
            widthLarge: { type: 1, value: 25 },
            widthSmall: { type: 1, value: 100 },
            widthMedium: { type: 1, value: 50 },
            infoSubTitle: { type: 1, value: 'Visitors' },
            backgroundColor: { type: 1, value: '#AB47BC' },
          },
          atomStaticKey: 'a-dashboardbooster:widgetInfoBox',
        },
        {
          atomStaticKey: 'test-note:widgetNote',
          id: '878d9687921641de880b130fa0ff5fd0',
          properties: {
            demoKey: {
              type: 1,
              value: 'demo-1',
            },
            height: {
              type: 1,
              value: 'auto',
            },
            title: {
              type: 1,
              value: '',
            },
            widthLarge: {
              type: 1,
              value: 25,
            },
            widthMedium: {
              type: 1,
              value: 50,
            },
            widthSmall: {
              type: 1,
              value: 100,
            },
          },
        },
        {
          atomStaticKey: 'test-note:widgetNote',
          id: '688725d1c2a446fea402580a5af072da',
          properties: {
            demoKey: {
              type: 1,
              value: 'demo-2',
            },
            height: {
              type: 1,
              value: 'auto',
            },
            title: {
              type: 1,
              value: '',
            },
            widthLarge: {
              type: 1,
              value: 25,
            },
            widthMedium: {
              type: 1,
              value: 50,
            },
            widthSmall: {
              type: 1,
              value: 100,
            },
          },
        },
        {
          atomStaticKey: 'test-note:widgetSimpleChat',
          id: '650acfa718f645098bf0516628d678f0',
          properties: {
            height: {
              type: 1,
              value: 'auto',
            },
            title: {
              type: 1,
              value: '',
            },
            widthLarge: {
              type: 1,
              value: 25,
            },
            widthMedium: {
              type: 1,
              value: 50,
            },
            widthSmall: {
              type: 1,
              value: 100,
            },
          },
        },
        {
          atomStaticKey: 'test-note:widgetAbout',
          id: '8a04bfa743fb42b2a65a104e018ab924',
          properties: {
            height: {
              type: 1,
              value: 'auto',
            },
            title: {
              type: 1,
              value: '',
            },
            widthLarge: {
              type: 1,
              value: 25,
            },
            widthMedium: {
              type: 1,
              value: 50,
            },
            widthSmall: {
              type: 1,
              value: 100,
            },
          },
        },
      ],
    },
  };
  const dashboard = {
    atomName: 'Home',
    atomStaticKey: 'dashboardHome',
    atomRevision: 21,
    description: 'Home(Authenticated)',
    content: JSON.stringify(content),
    resourceRoles: 'root',
  };
  return dashboard;
};
